package com.ai.web.service;

import java.util.List;

import com.ai.web.vo.BgRoleMenuV;
import com.ai.web.vo.ResultModel;
import com.tiny.persistence.domain.BgRoleMenu;
/**
 * 后台角色菜单关系服务层
* @ClassName: BgroleMenuService 
* @Description: TODO 
* @author:  
* @date: 2014年3月23日
*
 */

public interface BgRoleMenuService extends BaseService {
	
	public BgRoleMenuV getBgRoleMenu(int bgRoleMenuId) throws Exception;
	
	public ResultModel saveBgRoleMenu(BgRoleMenuV bgRoleMenuV) throws Exception;
	
	public ResultModel deleteBgRoleMenus(List<Integer> bgRoleMenuIds) throws Exception;
	
	public ResultModel updateBgRoleMenus(int roleId, String bgRoleMenuIds) throws Exception;
	
	public List<BgRoleMenu> findSelectedMenuList(int roleId);

	public ResultModel asignMenu(int roleId, String menuIds);

}
